package com.flnet.spsys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName("tb_works")
@Data
@Accessors(chain = true)
public class TbWorks{
    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 所属行业
     */
    @ApiModelProperty(value = "所属行业", name = "industry", required = false)
    private String industry;
    /**
     * 方案性质
     */
    @ApiModelProperty(value = "方案性质", name = "proNature", required = false)
    private String proNature;
    /**
     * 方案类型
     */
    @ApiModelProperty(value = "方案类型", name = "proType", required = false)
    private String proType;
    /**
     * 产品性质
     */
    @ApiModelProperty(value = "产品性质", name = "productNature", required = false)
    private String productNature;
    /**
     * 物业类型
     */
    @ApiModelProperty(value = "物业类型", name = "propertyType", required = false)
    private String propertyType;
    /**
     * 成案时间
     */
   /* @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")*/
    @ApiModelProperty(value = "成案时间", name = "caseTime", required = false)
    private String caseTime;

    @ApiModelProperty(value = "发布时间",name = "release_time",required = true)
    private Date releaseTime;

    @ApiModelProperty(value = "方案格式",name = "pro_format",required = true)
    private String proFormat;

    @ApiModelProperty(value = "方案大小",name = "pro_size",required = true)
    private Integer proSize;

    @ApiModelProperty(value = "作品数",name = "work_number",required = true)
    private Integer workNumber;

    @ApiModelProperty(value = "方案价格",name = "pro_price",required = true)
    private Double proPrice;

    @ApiModelProperty(value = "作品介绍",name = "work_introduce",required = true)
    private String workIntroduce;
}
